package com.zzy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zzy.model.User;

import java.util.List;

public interface UserService   {
    public List<User> findAll();

    public Integer saveUser(User user);
    public Integer update(User user);
    public User findOne(String id);
    /**根据多查询条件获取 单个 */
    public User findModelByParam(User user);

    public Integer deletes(String id);

    public List<User> findByName(String name);

    public List<User> findList(User user);

    public PageInfo<User>  findByPage(User user,int pageCount,int pageSize);

}